﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using STF.OrangeDog.Model;
using STF.OrangeDog.Dtos;
using System.Collections.Generic;

namespace STF.OrangeDog.IService
{
    public interface IAryicleTypeBll
    {
        Task<int> AddArticleTypeAsync(string Title);
        Task<int> EditArticleTypeAsync(int Id, string Title);
        Task<int> DeleteArticleTypeAsync(int Id);
        Task<IEnumerable<ArticleTypeDtos>> GetAll(int DeleteId = 1);
        Task<IEnumerable<ArticleTypeDtos>> GetDataByTitle(string Title, int DeleteId = 1);
        Task<ArticleTypeDtos> GetDataById(int Id);
    }
}
